package com.snow.datasource.properties;

import com.snow.datasource.creator.druid.DruidProperties;
import lombok.Data;
import org.springframework.boot.context.properties.NestedConfigurationProperty;

/**
 * 单个数据源属性配置
 *
 * @Description
 * @Author fanxl 315620726@qq.com
 * @Date 2020/12/16
 **/
@Data
public class DataSourceProperty {
    private String driverClassName;
    private String url;
    private String username;
    private String password;

    @NestedConfigurationProperty
    private DruidProperties druid;
}
